#include "Lock.h"



Lock::Lock(pthread_mutex_t *mutex) : _mutex(mutex)
{}
Lock::~Lock()
{}
bool Lock::lock()
{
    pthread_mutex_lock(_mutex);
}
bool Lock::unlock()
{
    pthread_mutex_unlock(_mutex);
}
